package com.creative.accountsdk.holder;

import android.widget.TextView;

import com.creative.accountsdk.R;

/**
 * Created by wang_qian on 2015/11/30.
 */
public class ChildClassInfoHolder extends  BaseHolder {

    private TextView   txtSchoolInfo;
    private String     ClassName;

    public ChildClassInfoHolder(String className) {
        ClassName = className;
    }


    @Override
    protected void initViews() {
        txtSchoolInfo = (TextView)viewRoot.findViewById(R.id.tvclassinfo);
        txtSchoolInfo.setText(activity.getResources().getString(R.string.school_name) + ClassName);

    }

    @Override
    public int getLayoutResID() {
        return R.layout.child_class_info_layout;
    }
}
